<div class="content-main">
    <div class="content-header">
        <div class="header-inner">
            <h2>Email notifications</h2>
            <p class="subheader">Control when and how often Twitter sends emails to you.</p>
        </div>
    </div>
    <div id="notifications-content" class="content-inner no-stream-end">
        <form action="https://twitter.com/settings/notifications/update" method="POST" class="form-horizontal notifications-form" id="notifications-form">
            <div style="display: none;" class="alert" id="settings-alert-box">
                <i class="close" id="settings-alert-close"></i>
            </div>
            <input type="hidden" value="95a860b8d76fbe21c8f61c0cba40b8cbbd717d86" name="authenticity_token">
            <fieldset class="control-group">
                <h3 class="settings-header">Activity on you and your Tweets</h3>
            </fieldset>
            <fieldset class="control-group">
                <label class="control-label">Email me when</label>
                <div class="controls">
                    <span id="send-favorited-email-dropdown">
                        <label class="checkbox">
                            <input type="checkbox" checked="" name="user[send_favorited_email]" id="send_favorited_email" value="2">My Tweets are marked as favorites
                        </label>
                        <select data-attribute="send_favorited_email" class="email-preference">
                            <option selected="selected" value="2">By people I follow</option>
                            <option value="1">By anyone</option>
                        </select>
                    </span>
                    <input type="hidden" name="user[send_favorited_email]" value="">
                    <span id="send-retweeted-email-dropdown">
                        <label class="checkbox">
                            <input type="checkbox" checked="" name="user[send_retweeted_email]" id="send_retweeted_email" value="2">My Tweets are retweeted
                        </label>
                        <select data-attribute="send_retweeted_email" class="email-preference">
                            <option selected="selected" value="2">By people I follow</option>
                            <option value="1">By anyone</option>
                        </select>
                    </span>
                    <input type="hidden" name="user[send_retweeted_email]" value="0">
                    <span id="send-mention-email-dropdown">
                        <label class="checkbox">
                            <input type="checkbox" checked="" name="user[send_mention_email]" id="send_mention_email" value="2">My Tweets get a reply or I'm mentioned on a Tweet
                        </label>
                        <select data-attribute="send_mention_email" class="email-preference">
                            <option selected="selected" value="2">By people I follow</option>
                            <option value="1">By anyone</option>
                        </select>
                    </span>
                    <input type="hidden" name="user[send_mention_email]" value="0">
                    <label class="checkbox">
                        <input type="checkbox" checked="" name="user[send_new_friend_email]" id="send_new_friend_email" value="1">I'm followed by someone new
                    </label>
                    <input type="hidden" name="user[send_new_friend_email]" value="0">
                    <label class="checkbox">
                        <input type="checkbox" checked="" name="user[send_new_direct_text_email]" id="send_new_direct_text_email" value="1">I'm sent a direct message
                    </label>
                    <input type="hidden" name="user[send_new_direct_text_email]" value="0">
                </div>
            </fieldset>
            <hr>
            <fieldset class="control-group">
                <h3 class="settings-header">Activity from your network</h3>
            </fieldset>
            <fieldset class="control-group">
                <label class="control-label">Email me with</label>
                <div class="controls">
                    <span id="network-digest-schedule-dropdown">
                        <label class="checkbox">
                            <input type="checkbox" checked="" name="user[network_digest_schedule]" id="network_digest_schedule" value="2">Top Tweets and Stories
                        </label>
                    </span>
                    <input type="hidden" name="user[network_digest_schedule]" value="0">
                </div>
            </fieldset>
            <hr>
            <fieldset class="control-group">
                <h3 class="settings-header">Updates from Twitter</h3>
            </fieldset>
            <fieldset class="control-group">
                <label class="control-label">Email me with</label>
                <div class="controls">
                    <label class="checkbox">
                        <input type="checkbox" checked="" name="user[send_email_newsletter]" id="send_email_newsletter" value="1">New Twitter products, features, and tips
                    </label>
                    <input type="hidden" name="user[send_email_newsletter]" value="0">
                    <label class="checkbox">
                        <input type="checkbox" checked="" name="user[send_account_updates_email]" id="send_account_updates_email" value="1">Service updates related to my Twitter account
                    </label>
                    <input type="hidden" name="user[send_account_updates_email]" value="0">
                </div>
            </fieldset>
            <hr>
            <div class="form-actions">
                <button type="submit" class="btn primary-btn" id="settings_save">Save changes</button>
            </div>    </form>
    </div>
</div>